#include <stdio.h>
int main(void)
{
    int n;
    printf("输入一个数n: ");
    scanf("%d", &n);
    int i = 2, res = i * i;
    while (res <= n) {
        printf("%d\n", res);
        i += 2;
        res = i * i;
    }
    return 0;
}